package com.hkts.naturalgas.organizational.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yck
 * @since 2021-04-06
 */
public class HontUserRole extends Model<HontUserRole> {

private static final long serialVersionUID=1L;

                            private String id;
        private String createBy;
        private LocalDateTime createTime;
        private Integer delFlag;
        private String updateBy;
        private LocalDateTime updateTime;
        private String hontRoleId;
        private String hontUserId;


    public String getId(){
            return id;
            }

        public void setId(String id) {
            this.id = id;
            }

    public String getCreateBy(){
            return createBy;
            }

        public void setCreateBy(String createBy) {
            this.createBy = createBy;
            }

    public LocalDateTime getCreateTime(){
            return createTime;
            }

        public void setCreateTime(LocalDateTime createTime) {
            this.createTime = createTime;
            }

    public Integer getDelFlag(){
            return delFlag;
            }

        public void setDelFlag(Integer delFlag) {
            this.delFlag = delFlag;
            }

    public String getUpdateBy(){
            return updateBy;
            }

        public void setUpdateBy(String updateBy) {
            this.updateBy = updateBy;
            }

    public LocalDateTime getUpdateTime(){
            return updateTime;
            }

        public void setUpdateTime(LocalDateTime updateTime) {
            this.updateTime = updateTime;
            }

    public String getHontRoleId(){
            return hontRoleId;
            }

        public void setHontRoleId(String hontRoleId) {
            this.hontRoleId = hontRoleId;
            }

    public String getHontUserId(){
            return hontUserId;
            }

        public void setHontUserId(String hontUserId) {
            this.hontUserId = hontUserId;
            }

    public static final String ID ="id";

    public static final String CREATE_BY ="create_by";

    public static final String CREATE_TIME ="create_time";

    public static final String DEL_FLAG ="del_flag";

    public static final String UPDATE_BY ="update_by";

    public static final String UPDATE_TIME ="update_time";

    public static final String HONT_ROLE_ID ="hont_role_id";

    public static final String HONT_USER_ID ="hont_user_id";

@Override
protected Serializable pkVal(){
            return this.id;
        }

@Override
public String toString() {
        return "HontUserRole{" +
                ", id=" + id +
                ", createBy=" + createBy +
                ", createTime=" + createTime +
                ", delFlag=" + delFlag +
                ", updateBy=" + updateBy +
                ", updateTime=" + updateTime +
                ", hontRoleId=" + hontRoleId +
                ", hontUserId=" + hontUserId +
        "}";
        }
        }
